const User = require("../../models/UserModel");

!(async function () {
  const res1 = await User.create({
    username: "zhangsan",
    password: "123",
  });
  const res2 = await User.findOne({
    username: "zhangsan",
    password: "123",
  });
  console.log("find", res2);
  const res3 = await User.create({
    username: "lisi",
    password: "123",
  });
  const res4 = await User.create({
    username: "jack",
    password: "123",
  });
})();
